package org.dreamfly.core.remote;

import java.io.Serializable;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: Gin
 * Date: 2010-11-27
 * Time: 2:12:15
 * To change this template use File | Settings | File Templates.
 */
public class ServiceModel implements Serializable {

    /** serialVersionUID */
    private static final long serialVersionUID = 7573304424910511124L;

    /** 服务接口 */
    private Class             serviceClass;

    /** 服务ID */
    private String            serviceId;

    /** 服务类型（XFire,HttpInvoker,Hessian,Custom Type） */
    private String            serviceType;

    /** 服务地址 */
    private String            serviceUrl;

    /** 附加属性 */
    private Properties props;

    /**
     * @return the props
     */
    public Properties getProps() {
        return props;
    }

    /**
     * @param props
     *            the props to set
     */
    public void setProps(Properties props) {
        this.props = props;
    }

    /**
     * @return the serviceClass
     */
    public Class getServiceClass() {
        return serviceClass;
    }

    /**
     * @param serviceClass
     *            the serviceClass to set
     */
    public void setServiceClass(Class serviceClass) {
        this.serviceClass = serviceClass;
    }

    /**
     * @return the serviceId
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * @param serviceId
     *            the serviceId to set
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * @return the serviceType
     */
    public String getServiceType() {
        return serviceType;
    }

    /**
     * @param serviceType
     *            the serviceType to set
     */
    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    /**
     * @return the serviceUrl
     */
    public String getServiceUrl() {
        return serviceUrl;
    }

    /**
     * @param serviceUrl
     *            the serviceUrl to set
     */
    public void setServiceUrl(String serviceUrl) {
        this.serviceUrl = serviceUrl;
    }

}
